package com.ham.mud.commands;

import com.ham.mud.ServerConnection;

/**
 * Created by hlucas on Jun 29, 2011 at 3:59:05 PM
 */
public class SuicideCommand extends PlayerCommand {
    @Override
    public void execute(ServerConnection connection, String[] params) {
        connection.printSolo("You fake your death, and disappear in a flash of light!");
        new RecallCommand().execute(connection, new String[]{});
    }

    @Override
    protected String getCommandName() {
        return "suicide";
    }
}
